/**
* TODO: 
*@author {JC}
*@effect 商品接口
**/
import request from "../../http/request"
// TODO:主页商品展示接口
export const takeHomePosts = ()=>{
    return request({
        url:"/home/post",
        method:"GET",
        params:{}
    })
}
// TODO:关注或者推荐帖子接口
export const takeROrGPosts = (params)=>{
    return request({
        url:"/posts",
        method:"GET",
        params:params
    })
}
// TODO:分类帖子接口
export const takeCatesPosts = (params)=>{
    return request({
        url:"/posts/cate",
        method:"GET",
        params:params
    })
}
